<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<table>
<?php
    $news = array();
    require_once "manager/simplehtmldom/simple_html_dom.php";
    // Create DOM from URL or file
    $url = "http://kenh14.vn/suc-khoe-gioi-tinh.chn";
    $html = file_get_html($url);
    foreach($html->find('li.item .title a') as $title){
        $news[]['title'] = $title->plaintext;
    }
    $count = 0;
    foreach($html->find('li.item .title a') as $title){
        $news[$count]['href'] = $title->href;
        $content_html = file_get_html("http://kenh14.vn".$title->href);
        foreach($content_html->find('.content') as $contents){
            $news[$count]['content'] = $contents->innertext;
        }
        $count ++;
    }
    $count = 0;
    foreach($html->find('li.item div.img a img') as $title){
        $news[$count]['src'] = $title->src;
        $count ++;
    }
    $count = 0;
    foreach($html->find('li.item .sapo') as $title){
        $news[$count]['summary'] = $title->plaintext;
        $count ++;
    }     
    print_r($news);
?>
</table>